//
//  SEGUserHouserRequestManager.h
//  SEGUhomePropertyBaseService
//
//  Created by 揭婧雯 on 2018/8/28.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGHouseInfoModel.h"
#import "SEGUserInfoModel.h"

@interface SEGUserHouserRequestManager : NSObject
/**
 * 请求所有用户房屋列表接口（获取当前用户房屋列表，包含用户认证的房屋，包含申请中、通过、未通过的房屋接口）
 * @author Wendy
 * @param finished 网络请求完成后的操作
 */
-(void)requestAllMyHouseList:(SEGRequestCallBack)finished;
/**
 房屋列表数组
 */
@property (nonatomic, strong)NSArray <SEGHouseInfoModel *>*houseInfoArray;

/**
 * 根据房屋ID,查询房屋下的用户列表
 * @author Wendy
 * @param houseId 房屋ID
 * @param finished 网络请求完成后的操作
 */
-(void)requestUserListWithHouseId:(NSString *)houseId finished:(SEGRequestCallBack)finished;
/**
 用户列表数组
 */
@property (nonatomic, strong)NSArray <SEGUserInfoModel *>*userInfoArray;

/**
 * 根据房屋ID,设置默认房屋
 * @author Wendy
 * @param houseId 房屋ID
 * @param relId 房屋关系主键ID
 * @param finished 网络请求完成后的操作
 */
-(void)requestSetDefaultHouseWithHouseId:(NSString *)houseId relId:(NSString *)relId finished:(SEGRequestCallBack)finished;

/**
 * 根据房屋ID和用户ID,删除房屋下的用户
 * @author Wendy
 * @param houseId 房屋ID
 * @param userId 要删除用户的ID
 * @param finished 网络请求完成后的操作
 */
-(void)requestDelHouseUserWithHouseId:(NSString *)houseId userId:(NSString *)userId finished:(SEGRequestCallBack)finished;

/**
 * 用户申请房屋认证接口
 * @author Wendy
 * @param name 申请人姓名
 * @param houseId 房屋ID
 * @param relId 房屋关系主键ID
 * @param custTel 预留客户手机号
 * @param custName 预留客户姓名
 * @param finished 网络请求完成后的操作
 */
-(void)requestSubmitUserAtuhWithName:(NSString *)name
                             houseId:(NSString *)houseId
                               relId:(NSString *)relId
                             custTel:(NSString *)custTel
                            custName:(NSString *)custName
                            finished:(SEGRequestCallBack)finished;

/**
 * 用户申请房屋人工审核接口
 * @author Wendy
 * @param houseId 房屋ID
 * @param relId 房屋关系主键ID
 * @param name 申请人真实姓名
 * @param finished 网络请求完成后的操作
 */
-(void)requestSubmitFailUserAtuhWithHouseId:(NSString *)houseId
                                      relId:(NSString *)relId
                                       name:(NSString *)name
                                   finished:(SEGRequestCallBack)finished;
@end
